/**
 * 
 */
package com.paradox.aggregation.gateway.common;

import lombok.Data;

import java.util.Arrays;
import java.util.Date;


@Data
public class TokenInfo {

	private boolean active;
	
	private String client_id;
	
	private String[] scope;
	
	private String username;
	
	private String[] aud;
	
	private Date exp;
	
	private String[] authorities;

	@Override
	public String toString() {
		return "TokenInfo{" +
				"active=" + active +
				", client_id='" + client_id + '\'' +
				", scope=" + Arrays.toString(scope) +
				", username='" + username + '\'' +
				", aud=" + Arrays.toString(aud) +
				", exp=" + exp +
				", authorities=" + Arrays.toString(authorities) +
				'}';
	}
}
